import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = ''
/**------------情报分析----------------**/
//头部汇总数据
const querySummaryCount = params => getAction(`${serviceName}/smuInfoSummary/queryUserSummaryCount`, params)
//商品分类占比
const queryGoodsTypeRatio = params => getAction(`${serviceName}/smuInfoSummary/queryGoodsTypeRatio`, params)
//数据来源占比
const queryDataSource = (params)=>getAction(`${serviceName}/smuInfoSummary/queryDataSource`,params);
//疑似走私贩卖网站排行TOP7
const querySourceUrl = params => getAction(`${serviceName}/smuInfoSummary/querySourceUrl`, params)
//情报关键词排行top7
const queryKeyword = params => getAction(`${serviceName}/smuInfoSummary/queryKeyword`, params)
//情报数据推送趋势
const querySourceType = params => getAction(`${serviceName}/smuInfoSummary/querySourceType`, params)
//商品分类趋势
const queryGoodsType = params => getAction(`${serviceName}/smuInfoSummary/queryGoodsType`, params)

/**------------告警分析----------------**/
//头部汇总数据
const querySmuSummaryCount = params => getAction(`${serviceName}/smuggle/smuWarnSummary/querySummaryCount`, params)
//告警动态类型占比
const queryDynamicTypeRatio = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryDynamicTypeRatio`, params)
//告警处置状态占比
const queryDispose = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryDispose`, params)
//发布区域告警数量排行 TOP7
const queryAreaWarn = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryAreaWarn`, params)
//告警数量排行 TOP7
const queryWarnTop = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryWarnTop`, params)
//数据来源告警变化趋势
const querySmuDataSource = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryDataSource`, params)
//走私类型告警变化趋势
const querySmuWarnType = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryWarnType`, params)

export {
  querySummaryCount,
  queryGoodsTypeRatio,
  queryDataSource,
  querySourceUrl,
  queryKeyword,
  querySourceType,
  queryGoodsType,
  querySmuSummaryCount,
  queryDynamicTypeRatio,
  queryDispose,
  queryAreaWarn,
  queryWarnTop,
  querySmuDataSource,
  querySmuWarnType
}
